package com.example.vo.per;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;

/**
 * 员工排班参数
 *
 * @author pursueSong
 * 2022-05-09
 */
@Data
public class WorkScheduleParams {

    @ApiModelProperty("工号")
    private Integer[] workIds;

    @ApiModelProperty("班次编号")
    private Integer shiftId;

    @ApiModelProperty("开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private LocalDate initiateDate;

    @ApiModelProperty("截止日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private LocalDate closureDate;
}
